Optimal. Leaf size=317 \[ \frac {b \tanh ^{-1}(\cosh (c+d x))}{a^2 d}-\frac {2 b^{4/3} \tanh ^{-1}\left (\frac {\sqrt [3]{b}-\sqrt [3]{a} \tanh \left (\frac {1}{2} (c+d x)\right )}{\sqrt {a^{2/3}+b^{2/3}}}\right )}{3 a^2 d \sqrt {a^{2/3}+b^{2/3}}}-\frac {2 b^{4/3} \tan ^{-1}\left (\frac {(-1)^{5/6} \left (\sqrt [6]{-1} \sqrt [3]{b}+i \sqrt [3]{a} \tanh \left (\frac {1}{2} (c+d x)\right )\right )}{\sqrt {-(-1)^{2/3} a^{2/3}-b^{2/3}}}\right )}{3 a^2 d \sqrt {-(-1)^{2/3} a^{2/3}-b^{2/3}}}-\frac {2 b^{4/3} \tan ^{-1}\left (\frac {\sqrt [6]{-1} \left ((-1)^{5/6} \sqrt [3]{b}+i \sqrt [3]{a} \tanh \left (\frac {1}{2} (c+d x)\right )\right )}{\sqrt {\sqrt [3]{-1} a^{2/3}-b^{2/3}}}\right )}{3 a^2 d \sqrt {\sqrt [3]{-1} a^{2/3}-b^{2/3}}}-\frac {\coth ^3(c+d x)}{3 a d}+\frac {\coth (c+d x)}{a d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.43, antiderivative size = 317, normalized size of antiderivative = 1.00, number of steps used = 16, number of rules used = 7, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.304, Rules used = {3220, 3770, 3767, 2660, 618, 206, 204} \[ -\frac {2 b^{4/3} \tanh ^{-1}\left (\frac {\sqrt [3]{b}-\sqrt [3]{a} \tanh \left (\frac {1}{2} (c+d x)\right )}{\sqrt {a^{2/3}+b^{2/3}}}\right )}{3 a^2 d \sqrt {a^{2/3}+b^{2/3}}}-\frac {2 b^{4/3} \tan ^{-1}\left (\frac {(-1)^{5/6} \left (\sqrt [6]{-1} \sqrt [3]{b}+i \sqrt [3]{a} \tanh \left (\frac {1}{2} (c+d x)\right )\right )}{\sqrt {-(-1)^{2/3} a^{2/3}-b^{2/3}}}\right )}{3 a^2 d \sqrt {-(-1)^{2/3} a^{2/3}-b^{2/3}}}-\frac {2 b^{4/3} \tan ^{-1}\left (\frac {\sqrt [6]{-1} \left ((-1)^{5/6} \sqrt [3]{b}+i \sqrt [3]{a} \tanh \left (\frac {1}{2} (c+d x)\right )\right )}{\sqrt {\sqrt [3]{-1} a^{2/3}-b^{2/3}}}\right )}{3 a^2 d \sqrt {\sqrt [3]{-1} a^{2/3}-b^{2/3}}}+\frac {b \tanh ^{-1}(\cosh (c+d x))}{a^2 d}-\frac {\coth ^3(c+d x)}{3 a d}+\frac {\coth (c+d x)}{a d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 204
Rule 206
Rule 618
Rule 2660
Rule 3220
Rule 3767
Rule 3770
Rubi steps
\begin {align*} \int \frac {\text {csch}^4(c+d x)}{a+b \sinh ^3(c+d x)} \, dx &=\int \left (-\frac {b \text {csch}(c+d x)}{a^2}+\frac {\text {csch}^4(c+d x)}{a}-\frac {b^2 \sinh ^2(c+d x)}{a^2 \left (-a-b \sinh ^3(c+d x)\right )}\right ) \, dx\\ &=\frac {\int \text {csch}^4(c+d x) \, dx}{a}-\frac {b \int \text {csch}(c+d x) \, dx}{a^2}-\frac {b^2 \int \frac {\sinh ^2(c+d x)}{-a-b \sinh ^3(c+d x)} \, dx}{a^2}\\ &=\frac {b \tanh ^{-1}(\cosh (c+d x))}{a^2 d}+\frac {b^2 \int \left (-\frac {i}{3 b^{2/3} \left (-i \sqrt [3]{a}-i \sqrt [3]{b} \sinh (c+d x)\right )}-\frac {i}{3 b^{2/3} \left (\sqrt [6]{-1} \sqrt [3]{a}-i \sqrt [3]{b} \sinh (c+d x)\right )}-\frac {i}{3 b^{2/3} \left ((-1)^{5/6} \sqrt [3]{a}-i \sqrt [3]{b} \sinh (c+d x)\right )}\right ) \, dx}{a^2}+\frac {i \operatorname {Subst}\left (\int \left (1+x^2\right ) \, dx,x,-i \coth (c+d x)\right )}{a d}\\ &=\frac {b \tanh ^{-1}(\cosh (c+d x))}{a^2 d}+\frac {\coth (c+d x)}{a d}-\frac {\coth ^3(c+d x)}{3 a d}-\frac {\left (i b^{4/3}\right ) \int \frac {1}{-i \sqrt [3]{a}-i \sqrt [3]{b} \sinh (c+d x)} \, dx}{3 a^2}-\frac {\left (i b^{4/3}\right ) \int \frac {1}{\sqrt [6]{-1} \sqrt [3]{a}-i \sqrt [3]{b} \sinh (c+d x)} \, dx}{3 a^2}-\frac {\left (i b^{4/3}\right ) \int \frac {1}{(-1)^{5/6} \sqrt [3]{a}-i \sqrt [3]{b} \sinh (c+d x)} \, dx}{3 a^2}\\ &=\frac {b \tanh ^{-1}(\cosh (c+d x))}{a^2 d}+\frac {\coth (c+d x)}{a d}-\frac {\coth ^3(c+d x)}{3 a d}-\frac {\left (2 b^{4/3}\right ) \operatorname {Subst}\left (\int \frac {1}{-i \sqrt [3]{a}-2 \sqrt [3]{b} x-i \sqrt [3]{a} x^2} \, dx,x,\tan \left (\frac {1}{2} (i c+i d x)\right )\right )}{3 a^2 d}-\frac {\left (2 b^{4/3}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt [6]{-1} \sqrt [3]{a}-2 \sqrt [3]{b} x+\sqrt [6]{-1} \sqrt [3]{a} x^2} \, dx,x,\tan \left (\frac {1}{2} (i c+i d x)\right )\right )}{3 a^2 d}-\frac {\left (2 b^{4/3}\right ) \operatorname {Subst}\left (\int \frac {1}{(-1)^{5/6} \sqrt [3]{a}-2 \sqrt [3]{b} x+(-1)^{5/6} \sqrt [3]{a} x^2} \, dx,x,\tan \left (\frac {1}{2} (i c+i d x)\right )\right )}{3 a^2 d}\\ &=\frac {b \tanh ^{-1}(\cosh (c+d x))}{a^2 d}+\frac {\coth (c+d x)}{a d}-\frac {\coth ^3(c+d x)}{3 a d}+\frac {\left (4 b^{4/3}\right ) \operatorname {Subst}\left (\int \frac {1}{-4 \left (\sqrt [3]{-1} a^{2/3}-b^{2/3}\right )-x^2} \, dx,x,-2 \sqrt [3]{b}+2 \sqrt [6]{-1} \sqrt [3]{a} \tan \left (\frac {1}{2} (i c+i d x)\right )\right )}{3 a^2 d}+\frac {\left (4 b^{4/3}\right ) \operatorname {Subst}\left (\int \frac {1}{4 \left (a^{2/3}+b^{2/3}\right )-x^2} \, dx,x,-2 \sqrt [3]{b}-2 i \sqrt [3]{a} \tan \left (\frac {1}{2} (i c+i d x)\right )\right )}{3 a^2 d}+\frac {\left (4 b^{4/3}\right ) \operatorname {Subst}\left (\int \frac {1}{4 \left ((-1)^{2/3} a^{2/3}+b^{2/3}\right )-x^2} \, dx,x,-2 \sqrt [3]{b}+2 (-1)^{5/6} \sqrt [3]{a} \tan \left (\frac {1}{2} (i c+i d x)\right )\right )}{3 a^2 d}\\ &=\frac {2 b^{4/3} \tan ^{-1}\left (\frac {\sqrt [3]{b}+\sqrt [3]{-1} \sqrt [3]{a} \tanh \left (\frac {1}{2} (c+d x)\right )}{\sqrt {-(-1)^{2/3} a^{2/3}-b^{2/3}}}\right )}{3 a^2 \sqrt {-(-1)^{2/3} a^{2/3}-b^{2/3}} d}+\frac {2 b^{4/3} \tan ^{-1}\left (\frac {\sqrt [3]{b}-(-1)^{2/3} \sqrt [3]{a} \tanh \left (\frac {1}{2} (c+d x)\right )}{\sqrt {\sqrt [3]{-1} a^{2/3}-b^{2/3}}}\right )}{3 a^2 \sqrt {\sqrt [3]{-1} a^{2/3}-b^{2/3}} d}+\frac {b \tanh ^{-1}(\cosh (c+d x))}{a^2 d}-\frac {2 b^{4/3} \tanh ^{-1}\left (\frac {\sqrt [3]{b}-\sqrt [3]{a} \tanh \left (\frac {1}{2} (c+d x)\right )}{\sqrt {a^{2/3}+b^{2/3}}}\right )}{3 a^2 \sqrt {a^{2/3}+b^{2/3}} d}+\frac {\coth (c+d x)}{a d}-\frac {\coth ^3(c+d x)}{3 a d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 5.79, size = 370, normalized size = 1.17 \[ \frac {4 b^2 \text {RootSum}\left [\text {$\#$1}^6 b-3 \text {$\#$1}^4 b+8 \text {$\#$1}^3 a+3 \text {$\#$1}^2 b-b\& ,\frac {2 \text {$\#$1}^4 \log \left (-\text {$\#$1} \sinh \left (\frac {1}{2} (c+d x)\right )+\text {$\#$1} \cosh \left (\frac {1}{2} (c+d x)\right )-\sinh \left (\frac {1}{2} (c+d x)\right )-\cosh \left (\frac {1}{2} (c+d x)\right )\right )+\text {$\#$1}^4 c+\text {$\#$1}^4 d x-4 \text {$\#$1}^2 \log \left (-\text {$\#$1} \sinh \left (\frac {1}{2} (c+d x)\right )+\text {$\#$1} \cosh \left (\frac {1}{2} (c+d x)\right )-\sinh \left (\frac {1}{2} (c+d x)\right )-\cosh \left (\frac {1}{2} (c+d x)\right )\right )-2 \text {$\#$1}^2 c-2 \text {$\#$1}^2 d x+2 \log \left (-\text {$\#$1} \sinh \left (\frac {1}{2} (c+d x)\right )+\text {$\#$1} \cosh \left (\frac {1}{2} (c+d x)\right )-\sinh \left (\frac {1}{2} (c+d x)\right )-\cosh \left (\frac {1}{2} (c+d x)\right )\right )+c+d x}{\text {$\#$1}^5 b-2 \text {$\#$1}^3 b+4 \text {$\#$1}^2 a+\text {$\#$1} b}\& \right ]+8 a \tanh \left (\frac {1}{2} (c+d x)\right )+8 a \coth \left (\frac {1}{2} (c+d x)\right )-\frac {1}{2} a \sinh (c+d x) \text {csch}^4\left (\frac {1}{2} (c+d x)\right )+8 a \sinh ^4\left (\frac {1}{2} (c+d x)\right ) \text {csch}^3(c+d x)-24 b \log \left (\tanh \left (\frac {1}{2} (c+d x)\right )\right )}{24 a^2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {csch}\left (d x + c\right )^{4}}{b \sinh \left (d x + c\right )^{3} + a}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.18, size = 178, normalized size = 0.56 \[ -\frac {\tanh ^{3}\left (\frac {d x}{2}+\frac {c}{2}\right )}{24 d a}+\frac {3 \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )}{8 d a}-\frac {4 b^{2} \left (\munderset {\textit {\_R} =\RootOf \left (a \,\textit {\_Z}^{6}-3 a \,\textit {\_Z}^{4}-8 b \,\textit {\_Z}^{3}+3 a \,\textit {\_Z}^{2}-a \right )}{\sum }\frac {\textit {\_R}^{2} \ln \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )-\textit {\_R} \right )}{\textit {\_R}^{5} a -2 \textit {\_R}^{3} a -4 \textit {\_R}^{2} b +\textit {\_R} a}\right )}{3 d \,a^{2}}-\frac {1}{24 d a \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )^{3}}+\frac {3}{8 d a \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )}-\frac {b \ln \left (\tanh \left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{d \,a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ -\frac {4 \, {\left (3 \, e^{\left (2 \, d x + 2 \, c\right )} - 1\right )}}{3 \, {\left (a d e^{\left (6 \, d x + 6 \, c\right )} - 3 \, a d e^{\left (4 \, d x + 4 \, c\right )} + 3 \, a d e^{\left (2 \, d x + 2 \, c\right )} - a d\right )}} + \frac {b \log \left ({\left (e^{\left (d x + c\right )} + 1\right )} e^{\left (-c\right )}\right )}{a^{2} d} - \frac {b \log \left ({\left (e^{\left (d x + c\right )} - 1\right )} e^{\left (-c\right )}\right )}{a^{2} d} + 16 \, \int \frac {b^{2} e^{\left (5 \, d x + 5 \, c\right )} - 2 \, b^{2} e^{\left (3 \, d x + 3 \, c\right )} + b^{2} e^{\left (d x + c\right )}}{8 \, {\left (a^{2} b e^{\left (6 \, d x + 6 \, c\right )} - 3 \, a^{2} b e^{\left (4 \, d x + 4 \, c\right )} + 8 \, a^{3} e^{\left (3 \, d x + 3 \, c\right )} + 3 \, a^{2} b e^{\left (2 \, d x + 2 \, c\right )} - a^{2} b\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 59.69, size = 3086, normalized size = 9.74 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________